package create;

/**
 * Created with IntelliJ IDEA.
 * ClassName: LambdaDemo
 * Package: create
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-08-13
 * Time: 22:13
 */

//lambda表达创建线程
public class LambdaDemo {

    public static void main(String[] args) {

        Thread t = new Thread(() -> {
            System.out.println("lambda创建线程");
        });
        t.start();

    }

}
